// 拼团接口
import http from "../common/http.js"

export default {
	getShop: (data,needLoading) => {
		return http.GET('/mch/index/shop', data,needLoading)
	},
	getCat: (data,needLoading) => {
		return http.GET('/mch/index/shop-cat', data,needLoading)
	},
	getGoods: (data,needLoading) => {
		return http.GET('/mch/index/goods', data,needLoading)
	},
	apply: (data,needLoading) => {
		return http.GET('/mch/index/apply', data,needLoading)
	},
	applySubmit: (data,needLoading) => {
		return http.POST('/mch/index/apply-submit', data,needLoading)
	}
}